package com.sportswork.sportswork.core.service;

import com.sportswork.sportswork.core.entity.Credit;
import com.sportswork.sportswork.core.entity.Teacher;

import java.util.List;

/**
 * @author dengwei
 * @date 2020/2/3 12:02
 * @description
 */
public interface ICreditService {
    Credit addCredit(Credit credit);
    Credit getCredit(String id);
    Credit getCreditByXsid(String xsid);
    Credit getCreditByNumber(String number);
    List<Credit> getAllCredit(String number, String name,String xsid);
    void deleteCredit(String id);
    void deleteCredits(String ids);
    Credit setCredit(Credit credit);
    void setCreditByXsid(Credit credit);
}
